.position {
  padding: 12px 0;
  color: #595959;
  font-size: 12px;
}

.department .content {
  padding: 20px 0px;
}

.department ul {
  padding: 0;
  margin: 0;
}

.department .navbar-nav > li {
  display: inline-block;
  float: none;
  line-height: 60px;
  position: relative;
  top: 4px;
  a {
    padding: 0 8px;
    letter-spacing: 2px;
  }
  @media (max-width: 768px) {
    a {
      padding: 0;
      letter-spacing: 2px;
      text-align: center;
      line-height: 50px;
    }

    width: 8%;
  }
}

.department.body-wapper ul {
  text-align: center;
  list-style: none;
}

.department.body-wapper ul li {
  margin-right: 10px;
  border-radius: 2px;
}

.department.body-wapper ul li:eq(0) {
  margin-left: 0;
}

.department {
  .top-navigation {
    //margin: 0 -30px;
  }
  .department__tab {
    font-size: 14px;
  }
  .search-msg {
    margin-right: 10px;
  }
}

#room-list li {
  padding: 10px 0;
  width: 100%;
}

.room-list-n {
  padding-left: 0px !important;
}

.form-group {
  width: 25% !important;
}

.visit-search input {
  height: 38px;
  width: 100% !important;
}

.visit-search .form-inline {
  text-align: right;
  //margin-right: -20px;
  .form-group {
    margin-right: 5px;
  }
}

.visit-search__title {
  float: left;
  line-height: 36px;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .form-group {
    width: 100% !important;
  }

  .search-msg {
    font-size: 16px;
  }

  .visit-search {
    padding-top: 20px;
    &__title {
      margin-bottom: 10px;
      margin-left: 0px;
      text-align: center;
      width: 100%;
    }
  }

  .visit-search input {
    height: 38px;
    width: 100% !important;
  }
}

.visit-search .search {
  background-color: @main-color;
  color: white;
}

.department.room-body {
  padding: 18px 0;
}

.d-introduce {
  padding: 30px 0px;
}

.d-introduce ul li {
  padding: 8px 15px;
  float: left;
  text-align: center;
  border: solid 1px #ccc;
  border-radius: 6px !important;
  margin-top: 14px;
  color: @body-font-color;
  width: 12%;
}

.d-introduce .department__list-item {
  margin-top: 14px;
  width: 12%;
  float: left;
  margin-right: 10px;
  &.red:hover {
    border: #8e3843 solid 1px;
    .angle {
      border-right: #8e3843 solid 1px;
      color: #8e3843;
    }
    .text {
      color: #8e3843;
    }
  }
  &.green:hover {
    border: #01a992 solid 1px;
    .angle {
      border-right: #01a992 solid 1px;
      color: #01a992;
    }
    .text {
      color: #01a992;
    }
  }
  &.yellow:hover {
    border: #d3b195 solid 1px;
    .angle {
      border-right: #d3b195 solid 1px;
      color: #d3b195;
    }
    .text {
      color: #d3b195;
    }
  }
  &.orange:hover {
    border: #eb8060 solid 1px;
    .angle {
      border-right: #eb8060 solid 1px;
      color: #eb8060;
    }
    .text {
      color: #eb8060;
    }
  }
}

.info-card__body {
  &__content {
    margin: 0 -15px;
  }
  &__icon {
    width: 16.666667%;
    float: left;
    padding: 0 15px;
  }
}

.d-introduce-more {
  padding: 0 0;
}

@media screen and (max-width: 768px) {
  .d-introduce ul li {
    width: 100%;
  }

  .department {
    &.room-body {
      .col-md-6,
      .col-md-3 {
        //padding-left: 0;
        //padding-right: 0;
      }
      .top-navigation {
        //margin: 0;
      }
    }
    .visit-search {
      //padding: 20px 0;
      width: 100%;
      .form-inline {
        margin-right: 0;
        text-align: center;
      }
    }
    &__tab {
      margin-bottom: 12px;
    }
  }

  .d-introduce {
    .department {
      &__list {
        &-item {
          width: 47% !important;
        }
      }
    }
  }

  .info-card__body {
    &__content {
      margin: 0 -5px;
    }
    &__icon {
      width: 25%;
      padding: 0 5px;
      float: left;
    }
  }
}

@media screen and (max-width: 1200px) {
  .department.banner {
    .logo {
      & + .col-md-9 {
        width: 100%;
        clear: both;
      }
    }
    #banner-nav {
      //margin-top: 20px;
      .department-name {
        display: none;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .department.banner {
    padding-bottom: 0px;
  }

  .department-name {
    display: none;
  }

  #banner-nav {
    li {
      width: 100%;
      text-align: center;
      //line-height: 50px;
      & a {
        line-height: 50px;
      }
    }
  }
}

.department-nav-menu {
  margin: 10px 0;
  & .dropdown-menu {
    background: #fff;
  }
}
